home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / modules / mt / panel / scripts / DefineButton2_378 / BUTTONCONDACTION on(press).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  445 b   |  20 lines

  1. on(press){
  2.    set("../../:validDrag","1");
  3.    tellTarget("_level50")
  4.    {
  5.       gotoAndStop("off");
  6.    }
  7.    setProperty("../../../../dragscrollcatch", _visible, "1");
  8.    set("../:selection1",_name.substr("4",length(_name)));
  9.    a = eval("../:selection1");
  10.    set("createDragEvent:a",eval("../:selection1"));
  11.    if(!selectedForEvent)
  12.    {
  13.       gotoAndStop("firstSelected");
  14.    }
  15.    else
  16.    {
  17.       gotoAndStop("init");
  18.    }
  19. }
  20.